/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.martinkrasa.hockeymanager.site.entity;

/**
 *
 * @author martin.krasa
 */
public class MatchEvent {
    
    public enum EventType {
        GOALHOME,
        GOALAWAY,
        PERIOD_START,
        PERIOD_END
    }
    
    private int minute;
    private EventType eventType;
    private String comment;

    public MatchEvent(int minute, EventType eventType, String comment) {
        this.minute = minute;
        this.eventType = eventType;
        this.comment = comment;
    }

    public int getMinute() {
        return minute;
    }

    public void setMinute(int minute) {
        this.minute = minute;
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

 
}
